<template>
  <van-config-provider :theme-vars="themeVars">
  <div class="header"></div>
    <Content></Content>
    <Footer v-if="!$route.meta.isShowFooter"></Footer>
  </van-config-provider>
</template>   

<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import { themeVars } from '@/config/theme'

//导入组件
import Header from '@/views/Header/header.vue'
import Content from '@/views/Content/content.vue'
import Footer from '@/views/Footer/footer.vue'

//用来显示隐藏底部需要的组件
import { useRoute } from 'vue-router'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
const $route: RouteLocationNormalizedLoaded = useRoute()
console.log($route);



</script>

<style scoped lang="scss">

</style>
